package com.zhongkun.datahome.service.req.cmd.material;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: lifengsheng
 * @Date: 2025/4/22 11:44
 * @Desc
 */
@Data
public class HouseMaterialCmd {
    @ApiModelProperty("房产id")
    private Long houseId;

    @ApiModelProperty("材料清单")
    private List<HouseMaterialItemCmd> itemList;

    @Data
    public static class HouseMaterialItemCmd {
        @ApiModelProperty("材料类型")
        private String materialType;

        @ApiModelProperty("材料id")
        private Long materialId;

        @ApiModelProperty("数量")
        private BigDecimal quantity;

        @ApiModelProperty("所属空间")
        private String room;

        @ApiModelProperty("渠道")
        private Integer channel;

        private Long id;
    }
}
